﻿@model IEnumerable<FollowUpNetwork.Models.CameraLeaderboard>
@{
   ViewBag.Title = "相机排行榜管理";
}
<link href="~/Content/asidenav.css" rel="stylesheet" />
<h2>相机排行榜管理员界面</h2>

<p>
    @Html.ActionLink("添加内容", "Create")
</p>
@using (Html.BeginForm("Index", "Employee", FormMethod.Get))
{
    <table class="table">
        <tr>
            <th>
                @Html.ActionLink("相机排名", "Index", new { sortBy = "CameraRanking", currentSort = ViewBag.CurrentSort })
            </th>
            <th>
                相机型号
            </th>
            <th>
                @Html.ActionLink("相机价格", "Index", new { sortBy = "CameraPrice", currentSort = ViewBag.CurrentSort })
            </th>

            <th></th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.CameraRanking)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.CameraType)
                </td>
                <td>
                    <span class="glyphicon glyphicon-yen"></span> @Html.DisplayFor(modelItem => item.CameraPrice)
                </td>
                <td>
                    @Html.ActionLink("修改", "Edit", new { id = item.CameraLeaderboardId }) |
                    @Html.ActionLink("删除", "Delete", new { id = item.CameraLeaderboardId })
                </td>
            </tr>
        }

    </table>
}
<div>
    <svg width="0" height="0">
        <defs>
            <filter id="goo">
                <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur"></feGaussianBlur>
                <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 19 -9" result="goo"></feColorMatrix>
                <feComposite in="SourceGraphic" in2="goo" operator="atop"></feComposite>
            </filter>
        </defs>
    </svg>
    <div class="aside-nav bounceInUp animated" id="aside-nav">
        <label for="" class="aside-menu" title="按住拖动">导航</label>

        <a href="~/MobileLeaderboards/Index" title="手机" class="menu-item menu-first">手机</a>
        <a href="../NotebookLeaderboards/Index" title="笔记本" class="menu-item menu-second">笔记本</a>
        <a href="../CameraLeaderboards/Index" title="相机" class="menu-item menu-third">相机</a>
        <a href="../TabletLeaderboards/Index" title="平板" class="menu-item menu-line menu-fourth">平板</a>
    </div>
</div>
<script src="~/Scripts/asidenav.js"></script>
<script src="~/Scripts/jquery-3.3.1.js"></script>